"""def test_get_event():
    print("宣布发布会")
    actual_name = "小米16发布会"
    expected_name = "小米16发布会"
    assert actual_name == expected_name

def test_get_event2():
    print("查询发布会2")
    actual_name = "小"
    expected_name = "小米16发布会"
    assert actual_name in expected_name


def test_bool():
    print("断言布尔值")
    assert False == True
    assert False is True

def test_order():
    print("测试订单")
    assert 20220530110 == 20220530110
    # 断言订单状态
    assert "已付款" == "未付款"
    print("开始断言订单金额")
    # 断言订单金额
    assert 100 == 100"""

import pytest
def test_get_event():
    print("查询发布会")
    expected_name = "小米"
    actual_name = "小米发布会"
    assert expected_name in actual_name

def test_bool():
    print("断言布尔值")
    assert False == True
    assert False is True

def test_order():
    print("测试订单")
    #断言订单编号
    pytest.assume(20220530110 == 20220530110)
    #断言订单状态
    pytest.assume("已付款" == "未付款")
    print("开始断言订单金额")
    pytest.assume(100 == 300)


